package com.plian.system.entity.fr.bonds;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("cqzc_bond_issue")
@ApiModel(value = "BondsIssue对象", description = "债券发行表")
public class BondsIssue {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("组织机构id")
    private String orgId;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("单据类型码")
    private String formType;

    @ApiModelProperty("创建时间")
    private Date createDate;

    @ApiModelProperty("债券申请id")
    private String bondsApplyId;

    @ApiModelProperty("发行编号")
    private String code;

    @ApiModelProperty("主承销商")
    private String leadUnderwriter;

    @ApiModelProperty("联席承销商")
    private String jointUnderwriter;

    @ApiModelProperty("发行期次")
    private String issuePeriod;

    @ApiModelProperty("发行金额")
    private String issueAmount;

    @ApiModelProperty("债券起息日")
    private String bondValueDate;

    @ApiModelProperty("债券到期日")
    private String bondMaturity;

    @ApiModelProperty("债券期限")
    private String bondTerm;

    @ApiModelProperty("可延期期限")
    private String extensionPeriod;

    @ApiModelProperty("票面利率")
    private String couponRate;

    @ApiModelProperty("综合成本率")
    private String comprehensiveCostRate;

    @ApiModelProperty("发行同期基准利率")
    private String benchmarkInterestRate;

    @ApiModelProperty("节约财务费用")
    private String savingFinancialExpenses;

    @ApiModelProperty("用途")
    private String purpose;

    @ApiModelProperty("剩余可发债额度")
    private String remainingIssuableAmount;

    @ApiModelProperty("债券名称")
    private String name;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("单据创建单位")
    private String createCompanyId;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("修改时间")
    private Date updateTime;

    @ApiModelProperty("是否可延期")
    private String isExtension;

    @ApiModelProperty("数据来源")
    private String dataSource;

    @ApiModelProperty("数据来源id")
    private String dataSourceId;

    @TableField(exist = false)
    @ApiModelProperty("附件ids")
    private String attachIds;
    @ApiModelProperty("承销商选聘方式 字典192配置")
    private String underSeMethod;
    @ApiModelProperty("发行债券审批机构 字典193配置")
    private String approvalIssuance;
    private BigDecimal addAmount;
    private  String isYearPlan;
}
